# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python


class Recipe(recipe.Recipe):
    name = 'tiff'
    version = '4.0.7'
    stype = SourceType.TARBALL
    url = 'http://download.osgeo.org/libtiff/tiff-4.0.7.tar.gz'
    licenses = [License.BSD_like]
    deps = [ 'zlib', 'libjpeg-turbo' ]
    configure_options = ' --disable-cxx no_gl=yes'

    files_libs = ['libtiff']
    files_bins = ['tiffcrop', 'bmp2tiff', 'gif2tiff', 'ppm2tiff'
        'tiffdump', 'tiffsplit', 'tiffmedian', 'ras2tiff', 'tiff2ps',
        'tiff2pdf', 'tiffset', 'tiffcp', 'tiff2rgba', 'tiffinfo', 'tiff2bw',
        'raw2tiff', 'fax2tiff', 'tiffdither', 'tiffcmp']
    files_devel = ['include/tiffvers.h', 'include/tiffio.h', 'include/tiff.h',
        'include/tiffconf.h', 'lib/pkgconfig/libtiff-4.pc']
